.flows {
  width: 100%;
  box-sizing: border-box;
  padding: 20px;

  .warnings {
    width: 100%;
    box-sizing: border-box;
    padding: 20px 30px;
  }

  .step {
    .flex-row-start();

    .step-flag {
      padding: 5px 4px 5px 8px;
      background-color: @primary-color;
      color: white;
      .flex-row-start();
      font-size: @font-size-mini;
      border-radius: 3px 0 0 3px;
      position: relative;
      margin-right: 20px;

      &::after {
        content: "";
        position: absolute;
        top: 0;
        right: -10px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 11px 0 11px 10px;
        border-color: transparent transparent transparent @primary-color;
      }
    }

    span {
      font-size: @font-size-small;
    }
  }

  .step-content {
    width: 100%;
    padding: 30px 0;

    .toolbar {
      width: 100%;
      padding: 30px;
      display: flex;
      justify-content: flex-end;
      align-items: center;

      &>* {
        margin-left: 10px;
      }
    }

    .pages {
      width: 100%;
      flex: 1;
      overflow-y: auto;
      padding: 30px;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;

      .line {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;

        .word {
          margin: 16px 10px;
          width: 24px;
          height: 24px;
          padding: 4px;
          border: 1px solid transparent;
          font-size: 18px;
          display: flex;
          justify-content: center;
          align-items: center;
          cursor: pointer;
          position: relative;
          box-sizing: content-box;

          &.space{
            border-bottom: 1px solid #696969;
          }

          &.actived {
            color: @primary-color;
          }

          &.noTextActived {
            border: 1px solid @primary-color;
            border-radius: 4px;
          }

          &.hasChord {
            background-color: rgba(@primary-color, .25);
            border: 1px solid @primary-color;
            border-radius: 4px;
            color: @primary-color;
            box-sizing: content-box;

            &.actived {
              color: white;
              background-color: @primary-color;
            }
          }

          .chord {
            position: absolute;
            top: -16px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 12px;
            color: @primary-color;
            line-height: 1;
            white-space: nowrap;
          }

          .beat {
            position: absolute;
            bottom: 0;
            left: 30px;
            padding: 2px 6px;
            border-radius: 3px;
            font-size: 12px;
            line-height: 1;
            background-color: @primary-color;
            color: white;
            transform: translateY(50%);
          }
        }
      }
    }
  }
}
.signRow {
  width: 100%;
  padding: 20px 0;
  .flex-column-normal();
  &>*:not(:first-child) {
    margin-top: 15px;
  }
  input {
    width: 100%;
    box-sizing: border-box;
    background: none;
    padding: 6px 15px;
    margin: 0;
    outline: none;
    border: 1px solid #dedede;
    border-radius: 3px;
  }
}